Products » dgEncrypt User Guide

Property:  Key::Base64Key

Base64Key

A read/write property which gives the value of the cipher key encoded in base64 notation. Base64 encoding is used in PGP messaging to create MIME-compliant representations of binary values, such as keys and message signatures. The Key object uses the form of base64 notation defined in RFC 2440, which describes the OpenPGP message format.
 
Example:
<%
Dim objKey

Set objKey = Server.CreateObject("dgEncrypt.Key")

objKey.GenerateKey 16
Response.Write objKey.Base64Key

Set objKey = Nothing
%>

 
Output:
gaQ40VJi4581xCtKNwBdRC