private static MessageDigest createDigest() {
        try {
            return MessageDigest.getInstance("SHA-1");
        } catch (NoSuchAlgorithmException e) {
            throw new RuntimeException(e);
        }
    }
Trusts the given public key hash for the sender.

@param sender the sender
@param hash   the public key hash
common/src/main/java/me/lucko/luckperms/common/webeditor/store/WebEditorKeystore.java