mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-23 21:17:45 +00:00
The single Blowfish test is for encryption and decryption
This commit is contained in:
parent
189c891b07
commit
8b1be6306c
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_encrypt() {
|
fn test_encrypt_decrypt() {
|
||||||
let blowfish = Blowfish::new(b"test_case");
|
let blowfish = Blowfish::new(b"test_case");
|
||||||
|
|
||||||
let expected_encrypted = [63, 149, 97, 229, 5, 35, 46, 128, 194, 107, 69, 132, 85, 202, 2, 126];
|
let expected_encrypted = [63, 149, 97, 229, 5, 35, 46, 128, 194, 107, 69, 132, 85, 202, 2, 126];
|
||||||
|
|
Loading…
Add table
Reference in a new issue