Package dev.gmitch215.bytebox.security


package dev.gmitch215.bytebox.security
Hashing for code that calls java.security.MessageDigest, which the class library does not carry.

MessageDigest computes MD5, SHA-1, SHA-256, SHA-384 and SHA-512 in Java. The platform's own SubtleCrypto.digest would be faster but it returns a promise, and a substituted class cannot suspend to wait for one.

Since:
1.0.3
  • Class
    Description
    java.security.DigestException, which the class library does not carry.
    java.security.MessageDigest, which the class library does not carry, for MD5, SHA-1, SHA-256, SHA-384 and SHA-512.
    Supplies java.security.MessageDigest and DigestException, which the class library does not carry.