1
1
mirror of https://github.com/wader/fq.git synced 2024-12-23 13:22:58 +03:00
fq/format/crypto/hash.jq
Mattias Wadman e3ae1440c9 interp: Rename to/from<format> functions to to_/from_<format>
Feels less cluttered, easier to read and more consistent.

Still keep tovalue, tobytes etc that are more basic functions this
only renamed format related functions.
Also there is an exceptin for to/fromjson as it comes from jq.

Also fixes lots of spelling errors while reading thru.
2022-12-21 17:48:39 +01:00

9 lines
386 B
Plaintext

def to_md4: _to_hash({name: "md4"});
def to_md5: _to_hash({name: "md5"});
def to_sha1: _to_hash({name: "sha1"});
def to_sha256: _to_hash({name: "sha256"});
def to_sha512: _to_hash({name: "sha512"});
def to_sha3_224: _to_hash({name: "sha3_224"});
def to_sha3_256: _to_hash({name: "sha3_256"});
def to_sha3_384: _to_hash({name: "sha3_384"});
def to_sha3_512: _to_hash({name: "sha3_512"});