# Functions
MakeAddress creates a cipher.Address.
MakePubKey creates a cipher.PubKey.
PrepareDB creates and opens a temporary test DB and returns it with a cleanup callback.
RandBytes returns n random bytes.
RandSHA256 returns a random SHA256 hash.
RandSig returns a random cipher.Sig.
RequireError requires that an error is not nil and that its message matches.
RequireFileExists requires that a file exists.
RequireFileNotExists requires that a file doesn't exist.
SHA256FromHex converts an SHA256 hex string to a cipher.SHA256.