Plug.Crypto

Namespace and module for cyrpto functionality.

Source

Summary

secure_compare(left, right)

Compares the two binaries in constant-time to avoid timing attacks

Functions

secure_compare(left, right)

Compares the two binaries in constant-time to avoid timing attacks.

See: http://codahale.com/a-lesson-in-timing-attacks/

Source