Class M.Base64
Extends
M.Object.
This prototype defines decoding and encoding mechanisms based on the Base64 algorithm. You
normally don't call this object respectively its methods directly, but let M.Cypher handle
this.
Defined in: base64.js.
Constructor Attributes | Constructor Name and Description |
---|---|
M.Base64()
|
Field Attributes | Field Name and Description |
---|---|
The key string for the base 64 decoding and encoding.
|
|
The type of this object.
|
Method Attributes | Method Name and Description |
---|---|
decode(input)
This method decodes a given input string, using the base64 decoding.
|
|
encode(input)
This method encodes a given input string, using the base64 encoding.
|
Field Detail
{String}
keyString
The key string for the base 64 decoding and encoding.
{String}
type
The type of this object.
Method Detail
{String}
decode(input)
This method decodes a given input string, using the base64 decoding.
- Parameters:
- {String} input
- The string to be decoded.
- Returns:
- {String} The base64 decoded string.
{String}
encode(input)
This method encodes a given input string, using the base64 encoding.
- Parameters:
- {String} input
- The string to be encoded.
- Returns:
- {String} The base64 encoded string.