MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / Init

Method Init

src/Encryption.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29//const size_t Encryption::KeySize = 8;
30
31int Encryption::Init() {
32 _DefaultKey = new char[KeySize+1];
33 strncpy(_DefaultKey, defaultString, KeySize);
34 return 0;
35}
36
37int Encryption::Deinit() {
38 if (_DefaultKey)

Callers 1

StartMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected