View Source ecies_kdf (ecies v1.0.0)

Summary

Functions

Link to this function

concat_kdf(Hash, Key, Info, Length)

View Source
-spec concat_kdf(Hash, Key, Info, Length) -> Result
              when
                  Hash :: atom(),
                  Key :: binary(),
                  Info :: binary(),
                  Length :: pos_integer(),
                  Result :: binary().
Link to this function

hkdf(Hash, Key, Salt, Info, Length)

View Source
-spec hkdf(Hash, Key, Salt, Info, Length) -> Result
        when
            Hash :: atom(),
            Key :: binary(),
            Salt :: binary(),
            Info :: binary(),
            Length :: pos_integer(),
            Result :: binary().
Link to this function

hkdf_expand(Hash, PRK, Info, Length)

View Source
-spec hkdf_expand(Hash, PRK, Info, Length) -> Result
               when
                   Hash :: atom(),
                   PRK :: binary(),
                   Info :: binary(),
                   Length :: pos_integer(),
                   Result :: binary().
Link to this function

hkdf_extract(Hash, Salt, IKM)

View Source
-spec hkdf_extract(Hash, Salt, IKM) -> Result
                when Hash :: atom(), Salt :: binary(), IKM :: binary(), Result :: binary().
Link to this function

kdf(Hash, Key, Info, Length)

View Source
-spec kdf(Hash, Key, Info, Length) -> Result
       when
           Hash :: atom(),
           Key :: binary(),
           Info :: binary(),
           Length :: pos_integer(),
           Result :: binary().