| 109 | }; |
| 110 | |
| 111 | std::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 | |
| 120 | std::string decrypt(const std::string &cipher, cn::WalletSerializerV1::CryptoContext &crypto_ctx) { |
| 121 | std::string plain; |
no test coverage detected