This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I put this together from 2 sources: | |
// - https://github.com/cyrildever/feistel-cipher | |
// - https://stackoverflow.com/a/12590064/2786606 | |
// | |
// In particular, Daniel Vérité wrote a great answer on SO. | |
// | |
// I save this for myself, there are no guarantees about correctness, quality, or anything else. | |
import 'dart:convert'; | |
import 'package:crypto/crypto.dart'; |