RAHASH2(1) General Commands Manual RAHASH2(1) (NAME) rahash2 - (SYNOPSIS) rahash2 [-BehjkLqRrvX] [-b S] [-a A] [-c H] [-E A] [-D A] [-s S] [-f O] [-t O] [-i num] [-I iv] [-S seed] [-x hexstr] [file ...] (DESCRIPTION) . <<->> . . . -a algo ( <> ) -b bsize ( ) -B -c hash -e ( little endian) -E algo . -S -I (IV) -D algo . -S -I (IV) -f from -i num N ( 3DES) -I iv (IV) ( s:string) -j JSON -J JSON ( -jj) -S seed (seed) ( s:string) ^ ( -E). <<->> @ -k randomkey openssh -q ( -qq ) -L muta ( -q, -a, -E -D) -r radare () : $ rahash2 -a sha1 -r file | r2 -qni file -R sdb file. ( ) : $ rahash2 -a sha1 -R file | r2 -qni file -R rahash2 -B ( ) . -s string -t to -x hexstr -X -v (ENVIRONMENT) rahash2 . (EXAMPLES) MD5 <>: $ rahash2 -qqa md5 /bin/ls SHA256 : $ echo -n "Hello, World" | rahash2 -a sha256 - $ rahash2 -a sha256 -s "Hello, World" CRC32 : $ rahash2 -qqa crc32 /bin/ls 63212007 $ rahash2 -a crc32 -c 63212007 /bin/ls INFO: Computed hash matches the expected one $ echo $? 0 muta ( ): $ rahash2 -L <> base64: $ rahash2 -E base64 -s "Hello World" SHA256 : $ rahash2 -qqa sha256 -f 0x1000 -t 0x2000 file_to_hash <> ror rol: $ rahash2 -S 12333 -E ror -s hello && echo Cell{ $ rahash2 -S 12333 -E rol -s Cell{ && echo hello AES-CBC: $ export AES_KEY="11111111111111111111111111113211" $ rahash2 -E aes-ecb -S "$AES_KEY" -s "hello world you bastard" > .file $ cat .file | rahash2 -D aes-ecb -S "$AES_KEY" -s - && echo Blowfish JSON: $ rahash2 -E blowfish -S "11111111111111111111111111113211" -j /bin/ls > ls.json (DIAGNOSTICS) The rahash2 utility exits 0 on success, and >0 if an error occurs. -c, . (SEE ALSO) radare2(1) (AUTHORS) pancake July 10, 2025