sha256Twice function

List<int> sha256Twice(
  1. List<int> bytes
)

Implementation

List<int> sha256Twice(List<int> bytes) {
  var first = new SHA256Digest().process(Uint8List.fromList(bytes));
  var second = new SHA256Digest().process(first);
  return second.toList();
}