Olm.Utility (olm v0.1.0-rc) View Source

Olm Utility functions.

Link to this section Summary

Functions

Calculates the SHA-256 hash of the input and encodes it as base64.

Verifies an ed25519 signature.

Link to this section Functions

Calculates the SHA-256 hash of the input and encodes it as base64.

Link to this function

verify_ed25519(key, message, signature)

View Source

Verifies an ed25519 signature.