MCPcopy Create free account
hub / github.com/bcndev/bytecoin / read_cipher

Function read_cipher

src/Core/WalletSerializationV1.cpp:111–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109};
110
111std::string read_cipher(common::IInputStream &source, const std::string &name) {
112 std::string cipher;
113 // cn::BinaryInputStreamSerializer s(source);
114 seria::BinaryInputStream s(source);
115 ser(cipher, s); // , name
116
117 return cipher;
118}
119
120std::string decrypt(const std::string &cipher, cn::WalletSerializerV1::CryptoContext &crypto_ctx) {
121 std::string plain;

Callers 1

deserialize_encryptedFunction · 0.85

Calls 1

serFunction · 0.70

Tested by

no test coverage detected