mirror of https://github.com/sbrl/bin.git
9 lines
121 B
Bash
9 lines
121 B
Bash
|
#!/bin/sh
|
||
|
user=$1
|
||
|
realm=$2
|
||
|
pass=$3
|
||
|
|
||
|
hash=`echo -n "$user:$realm:$pass" | md5sum | cut -b -32`
|
||
|
|
||
|
echo "$user:$realm:$hash"
|