"Sputnik" help  
Sputnik Help
DecryptSparkle

Description

 

Parameters

   

Return Value

Success: Returns true.
Failure: Returns false.

Remarks

 

Related

Example

Example of usage:

my $pass = EncCreatePass();

my $data = "The quick brown fox!";

my $encData = EncryptSparkle($pass, $data);
say BinaryExpand($encData);

my $decData = DecryptSparkle($pass, $encData);
say $decData;

// PRINTS
// 00 | 3D 2F B8 76 03 12 4C E2 FC 54 23 5D F6 DE 9C 3A =/¸v..LâüT#]öÞ.:
// 01 | F3 56 29 37 97 A9 64 3E 5A FF 6A 0C 04 38 6F B9 óV)7.©d>Zÿj..8o.
// 02 | 01 03 61 54 62 71 D3 58 FF 8D 52 73 EF 9C 3D 92 ..aTbqÓXÿ.Rsï.=.
// 03 | A6 43 18 8A -- -- -- -- -- -- -- -- -- -- -- -- ¦C..
// The quick brown fox!

Using the associatedText parameter:

my $pass = EncCreatePass();

my $data = "The quick brown fox!";

my $encData = EncryptSparkle($pass, $data, "Extra!");
say BinaryExpand($encData);

my $decData = DecryptSparkle($pass, $encData, "Extra!");
say $decData;

// PRINTS
// 00 | 46 0D AA 4B BC 9B 1B 32 1F 24 FF AC B2 6C FF 4B F.ªK...2.$ÿ¬.lÿK
// 01 | 10 88 A7 C5 08 7F 79 8F 2A C3 FB B8 86 41 E8 16 ..§Å..y.*Ãû¸.Aè.
// 02 | 45 5A 26 06 DC 66 28 FF C6 57 B4 1F A6 00 50 06 EZ&.Üf(ÿÆW´.¦.P.
// 03 | FC A5 65 33 -- -- -- -- -- -- -- -- -- -- -- -- ü¥e3
// The quick brown fox!

 


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