"Sputnik" help  
Sputnik Help
DecryptAes

Description

 

Parameters

   

Return Value

Success: Returns true.
Failure: Returns false.

Remarks

 

Related

Example

Basic example of usage:

my $pass = EncCreatePass();
my $data = "The quick brown fox jumps over the lazy dog";
my $encData = EncryptAes($pass, $data);
say BinaryExpand($encData);
my $decData = DecryptAes($pass, $encData);
say $decData;

// PRINTS
// 00 | BD 84 C9 CA F8 0C 89 97 3F 64 4E E7 EF 7C 2B B0 ..ÉÊø...?dNçï|+°
// 01 | BB 4A 66 77 37 B4 75 24 5E 66 71 CC 30 0F C4 14 »Jfw7´u$^fqÌ0.Ä.
// 02 | E8 F6 75 2A 4D 2B B5 E8 D0 C3 87 C8 19 AA 7C BB èöu*M+µèÐÃ.È.ª|»
// The quick brown fox jumps over the lazy dog

A 3-way cascading cipher:

my $passA = EncCreatePass();
my $passG = EncCreatePass(); my $passT = EncCreatePass(); my $data = "The quick brown fox jumps over the lazy dog"; my $encData = EncryptAes($passA, EncryptSerpent($passG, EncryptTwofish($passT, $data))); say BinaryExpand($encData); my $decData = DecryptTwofish($passT, DecryptSerpent($passG, DecryptAes($passA, $encData))); say $decData; // PRINTS // 00 | 3E 40 42 2C D4 83 0A 30 68 B4 48 63 21 CF 6B 09 >@B,Ô..0h´Hc!Ïk. // 01 | EA 70 1B 01 4A 9A 7D F9 41 8B 3E 94 C7 00 E8 04 êp..J.}ùA.>.Ç.è. // 02 | 5D 7C 80 8F C3 57 6E 6A 06 85 18 62 91 A7 E2 11 ]|..ÃWnj...b.§â. // 03 | 64 BD 14 5A DC 73 47 95 A9 17 9A 60 A1 E5 0D 5F d..ZÜsG.©..`¡å._ // The quick brown fox jumps over the lazy dog

 


Contact
Cheryl (uberfox@hotmail.com)
Homepage
http://ubersoft.org