Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES

PAJ.Security.SHA1.toBase64( s )

PAJ.Security.SHA1.toBase64( s )

Method for converting a string to a base 64 string.

Parameters:

s - The value to base64 encode.

Returns:

The hashed value.

Example:

var sha1 = new PAJ.Security.SHA1();
var s = "hello world"; //create a string to encrypt
alert( sha1.toBase64(s) ); //display the base64 value



Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES