class Digest

class Digest

lib/digest.tya:2

Digest provides the digest/Digest standard library API.

Source
# Digest provides the digest/Digest standard library API.
class Digest
  # Digest.md5 provides the digest/Digest standard library operation.
  # @param text String text value.
  # @return Any the resulting value.
  static md5: text ->
    digest_md5(text)

  # Digest.sha1 provides the digest/Digest standard library operation.
  # @param text String text value.
  # @return Any the resulting value.
  static sha1: text ->
    digest_sha1(text)

  # Digest.sha256 provides the digest/Digest standard library operation.
  # @param text String text value.
  # @return Any the resulting value.
  static sha256: text ->
    digest_sha256(text)

  # Digest.sha384 provides the digest/Digest standard library operation.
  # @param text String text value.
  # @return Any the resulting value.
  static sha384: text ->
    digest_sha384(text)

  # Digest.sha512 provides the digest/Digest standard library operation.
  # @param text String text value.
  # @return Any the resulting value.
  static sha512: text ->
    digest_sha512(text)

Static Methods

md5

static Digest.md5(text)

lib/digest.tya:6

Digest.md5 provides the digest/Digest standard library operation.

Source
  # Digest.md5 provides the digest/Digest standard library operation.
  # @param text String text value.
  # @return Any the resulting value.
  static md5: text ->
    digest_md5(text)

sha1

static Digest.sha1(text)

lib/digest.tya:12

Digest.sha1 provides the digest/Digest standard library operation.

Source
  # Digest.sha1 provides the digest/Digest standard library operation.
  # @param text String text value.
  # @return Any the resulting value.
  static sha1: text ->
    digest_sha1(text)

sha256

static Digest.sha256(text)

lib/digest.tya:18

Digest.sha256 provides the digest/Digest standard library operation.

Source
  # Digest.sha256 provides the digest/Digest standard library operation.
  # @param text String text value.
  # @return Any the resulting value.
  static sha256: text ->
    digest_sha256(text)

sha384

static Digest.sha384(text)

lib/digest.tya:24

Digest.sha384 provides the digest/Digest standard library operation.

Source
  # Digest.sha384 provides the digest/Digest standard library operation.
  # @param text String text value.
  # @return Any the resulting value.
  static sha384: text ->
    digest_sha384(text)

sha512

static Digest.sha512(text)

lib/digest.tya:30

Digest.sha512 provides the digest/Digest standard library operation.

Source
  # Digest.sha512 provides the digest/Digest standard library operation.
  # @param text String text value.
  # @return Any the resulting value.
  static sha512: text ->
    digest_sha512(text)