Moscrif API Docs for: 2012q3
Show:

SHA1 Class

Library: crypto

This class represents implementations of the SHA1 hash algorithm.In cryptography, SHA-1 is a cryptographic hash function designed by the National Security Agency and published by the NIST as a U.S. Federal Information Processing Standard.

Item Index

Methods

Methods

bytes

(
  • data
)
Array

Hash array of bytes.

Parameters:

  • data Bytes

    Vector of bytes

Returns:

Array:

file

(
  • path
)
Array

Hash data loaded from file.

Parameters:

  • path Bytes

    Location of source file.

Returns:

Array:

string

(
  • text
)
Array

Hash string.

Parameters:

Returns:

Array: