Finish implementing some encryption in the network protocols with AES
This commit is contained in:
parent
38eb7c6acd
commit
84cef345eb
10 changed files with 263 additions and 391 deletions
|
@ -8,6 +8,10 @@ class Hashing {
|
|||
return bytes2Hash(md5SumStr(input));
|
||||
}
|
||||
|
||||
static String llMD5String(String src, int nonce) {
|
||||
return md5Hash("${src}:${nonce}");
|
||||
}
|
||||
|
||||
/// This will generate the Sha1 bytes and hash it using #bytes2Hash
|
||||
static String sha1Hash(String input) {
|
||||
return bytes2Hash(sha1SumStr(input));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue