Syntax 

Encrypt64[$](Data [, Password])


-or-


Encrypt64B[$](Data [, Password])


Group 

Miscellaneous 


Description 

Return a string using the RC4 stream encryption algorithm. (The string is also encoded using base 64 encoding.)


Parameters

Description

Data 

Return this string's encryption.

Password 

Encrypt using this password. If omitted, use one of a user's two public/private key pairs. Use KeyExchange if available, otherwise use Signature. If neither is available a run-time error occurs.


See Also 

Decode64[B], Decrypt64[B], Encode64[B]


Example

Sub Main

    Debug.Print Encrypt64("Hello World!!", "abc") '"Y4GFrF+k1YUHwjEzsg=="

End Sub