Download CUT (Crystal UTilities) Documentation

Transcript
Encryption
BlowFishEncrypt ()
Arguments: (StringToEncrypt, Key)
Returns: The encrypted text (as HEX) using the BlowFish algorithm.
For example: BlowFishEncrypt ("MilletSoftware", "Sesame" )
Returns:
268BA82DCA546F2C4E107E9C8AF16546318A8E275BDE0F8D1C5BBD663C8DF10E
Note: StringtoEncrypt can’t exceed 254 characters. If you try to pass a string larger than that,
the function returns: “"String to Encrypt Must Be Less Than 255 Characters"
Note however that the returned encrypted string may be longer than 254 characters
BlowFishDecrypt ()
Arguments: (StringToDecrypt, Key)
Returns: The decrypted text using the BlowFish algorithm.
For example:
BlowFishDecrypt ("268BA82DCA546F2C4E107E9C8AF16546318A8E275BDE0F8D1C5BBD663C8DF10E", "Sesame" )
Returns:
MilletSoftware
Note: StringtoDecrypt can’t exceed 254 characters. If you try to pass a string larger than that,
the function returns: “"String to Decrypt Must Be Less Than 255 Characters"
If the string you need to decrypt is longer, use BlowFishDecryptSegment() (see next page).
©2002-2015, Ido Millet, [email protected]
Page 43