Javascript cookies
posted in Javascript, January 21, 2009Here you will find an object with methods to save, read and erase cookies. Using these methods you can manipulate cookies on your site.
Read more »
Javascript UTF-8
posted in Javascript, January 21, 2009The encoding known today as UTF-8 was invented by Ken Thompson. UTF-8 is a variable-length character encoding for Unicode. It can represent any character in the Unicode standard, yet is backwards compatible with ASCII. Read more »
Javascript base64
posted in Javascript, January 21, 2009This javascript code is used to encode / decode data using base64 (this encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean). Script is fully compatible with UTF-8 encoding. You can use base64 encoded data as simple encryption mechanism. Read more »
Javascript SHA-256
posted in Javascript, January 21, 2009The SHA (Secure Hash Algorithm) is one of the many cryptographic hash functions. It is suggested that SHA256 or greater must used for critical technology. This script is used to process variable length message into a fixed-length output using the SHA256 algorithm. It is fully compatible with UTF-8 encoding.
Read more »
Javascript SHA-1
posted in Javascript, January 21, 2009SHA-1 the Secure Hash Algorithm (SHA) was developed by NIST and is specified in the Secure Hash Standard (SHS, FIPS 180).
This script is used to process variable length message into a fixed-length output using the SHA-1 algorithm. It is fully compatible with UTF-8 encoding.
Read more »
Javascript MD5
posted in Javascript, January 21, 2009MD5 (Message-Digest algorithm 5) is a widely-used cryptographic hash function with a 128-bit hash value. MD5 has been employed in a wide variety of security applications, and is also commonly used to check the integrity of data. The generated hash is also non-reversable. Data cannot be retrieved from the message digest, the digest uniquely identifies the data.
Read more »
Javascript pad
posted in Javascript, January 28, 2008This functions returns the input string padded on the left, the right, or both sides to the specified padding length. If the optional argument “pad” is not supplied, the input is padded with spaces, otherwise it is padded with characters from “pad” up to the “len” length. Read more »
Javascript CRC32
posted in Javascript, January 28, 2008Javascript CRC32 function generates the cyclic redundancy checksum polynomial of 32-bit lengths of the string. This is usually used to validate the integrity of data being transmitted. Read more »
