We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'id-aes128-wrap' => 'id-aes128-wrap', 'id-aes128-wrap-pad' => 'id-aes128-wrap-pad', 'id-aes192-wrap' => 'id-aes192-wrap', 'id-aes192-wrap-pad' => 'id-aes192-wrap-pad', 'id-aes256-wrap' => 'id-aes256-wrap', 'id-aes256-wrap-pad' => 'id-aes256-wrap-pad', 'id-smime-alg-CMS3DESwrap' => 'id-smime-alg-CMS3DESwrap',
//get all Algorithm $list = Cryptographers::getCipherMethods();
Cryptographers::setChipper('id-aes128-wrap');
//Encode: $encoded = Cryptographers::encrypt("Hello World");
//Decode: $decoded = Cryptographers::decrypt($encoded);
echo $encoded.PHP_EOL; echo $decoded.PHP_EOL;
//Output: //bMhFJ86i3GckUaoq.FTAdoRaUOrs79Rs= //Hello World
//Get Random Salt Cryptographers::getRandomByte();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Same for these cipher methods too:
Code sample:
//get all Algorithm
$list = Cryptographers::getCipherMethods();
Cryptographers::setChipper('id-aes128-wrap');
//Encode:
$encoded = Cryptographers::encrypt("Hello World");
//Decode:
$decoded = Cryptographers::decrypt($encoded);
echo $encoded.PHP_EOL;
echo $decoded.PHP_EOL;
//Output:
//bMhFJ86i3GckUaoq.FTAdoRaUOrs79Rs=
//Hello World
//Get Random Salt
Cryptographers::getRandomByte();
The text was updated successfully, but these errors were encountered: