Saturday, September 26, 2015

Encryption with JavaScript

DIGEST

digest.js is a javascript library implementing cryptographic digest and HMAC algorithms.
digest.js is designed for modern web browsers and requires the W3C Typed Arrays support. digest.js has been successfully tested with these web browsers:
  • Chrome 11
  • Firefox 4
  • Safari 5.1
  • IE 10

Supported algorithms:

  • digest
    • MD5
    • SHA-1
    • SHA-256
  • Message Authentication Code (MAC)
    • HMAC/MD5
    • HMAC/SHA-1
    • HMAC/SHA-256
  • Password-Based Key Derivation Function (PBKDF)
    • PBKDF1/SHA1
    • PBKDF1/MD5
    • PBKDF2/HMAC/SHA1
    • PBKDF2/HMAC/SHA-256


Monday, August 17, 2015

Proxy Coding: Take control with the Proxy

Provide a surrogate or placeholder for another object to control access to it.

If the programming model for your distributed technology of choice includes the concept of a proxy, you're being forced into distributed object semantics