JSPM

  • Created
  • Published
  • Downloads 2038236
  • Score
    100M100P100Q54039F

General purpose crypto utilities

Package Exports

  • cryptiles

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cryptiles) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

cryptiles

General purpose crypto utilities

Build Status

Methods

randomString(<Number> size)

Returns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string.

fixedTimeComparison(<String> a, <String> b)

Compare two strings using fixed time algorithm (to prevent time-based analysis of MAC digest match). Returns true if the strings match, false if they differ.