forked from kherel/selfprivacy.org.app
parent
695c91cba7
commit
536ef4b717
@ -1,10 +0,0 @@ |
||||
import 'dart:convert'; |
||||
|
||||
import 'package:crypto/crypto.dart'; |
||||
|
||||
String convertToSha512Hash(String text) { |
||||
var bytes = utf8.encode(text); |
||||
|
||||
var hash = sha512.convert(bytes); |
||||
return hash.toString(); |
||||
} |
Loading…
Reference in new issue