OpenSSL::DigestBase - Crystal 0.35.1

# module OpenSSL::DigestBase

##
Direct including types

- OpenSSL::Digest

##
Defined in:

##
Instance Method Summary

- #<<(data) : self

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

- #base64digest : String

  Returns a base64-encoded digest.

  DEPRECATED Use `Base64.strict_encode(final)` instead.

- #file(file_name : Path | String) : Digest

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

- #to_s(io : IO) : Nil

  DEPRECATED Use `io << final.hexstring` instead.

- #update(io : IO) : self

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

##
Instance Method Detail

def <<(data) : self #

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

def base64digest : String #

Returns a base64-encoded digest.

DEPRECATED Use `Base64.strict_encode(final)` instead.

def file(file_name : Path | String) : Digest #

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

def to_s(io : IO) : Nil #

DEPRECATED Use `io << final.hexstring` instead.

def update(io : IO) : self #

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