mirror of
https://github.com/avinal/blowfish.git
synced 2026-01-11 07:18:32 +05:30
feat: add blowfish2 128 bit implementation
- regular blowfish only uses 64 bits - blowfish2 uses 128 bits like AES Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
@@ -1,12 +1,3 @@
|
||||
/**
|
||||
* /mnt/z/my_git/blowfish/src/Main.cpp
|
||||
* @file Main.cpp
|
||||
* @author Avinal Kumar
|
||||
* @since March 06, 2021
|
||||
*
|
||||
* Test Program
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <blowfish/blowfish.h>
|
||||
@@ -59,6 +50,7 @@ int main(int argc, char const *argv[]) {
|
||||
|
||||
std::cout << decipher << std::endl;
|
||||
if (message == decipher) {
|
||||
std::cout << "Test successful!" << std::endl;
|
||||
return 0;
|
||||
} else {
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user