public Ciphertext <SHA1> HashFile(SystemFilepath filepath) { var fileContents = File.ReadAllText(filepath.ToString()); return(Ciphertext.SHA1(fileContents, salt: Array.Empty <byte>())); }
public FileSystemDirectory(SystemFilepath filepath) { Directory.CreateDirectory(filepath.ToString()); Filepath = filepath; }