module OpenSSL::DigestBase

Direct including types

Defined in:

openssl/digest/digest_base.cr

Instance Method Summary

Instance Method Detail

def <<(data) : Digest #

Reads the io's data and updates the digest with it.


[View source]
def base64digest : String #

Returns a base64-encoded digest.


[View source]
def digest : Bytes #

Clones and finishes the digest.


[View source]
def file(file_name : Path | String) : Digest #

Reads the file's content and updates the digest with it.


[View source]
def hexdigest : String #

Returns a hexadecimal-encoded digest.


[View source]
def to_s(io : IO) : Nil #

Returns a hexadecimal-encoded digest.


[View source]
def update(io : IO) : Digest #

Reads the io's data and updates the digest with it.


[View source]