mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-10-26 22:09:56 -04:00
Document manual sanity check when not using RCWD
This commit is contained in:
1 parent
1351360b35
commit
5b591e35d8
1 file changed
+1
@@ -55,6 +55,7 @@ func DecryptFileToSlice(realPath string, rcwPassword []byte) ([]string, error) {
|
||||
|
||||
// EncryptBytes encrypts a byte slice using RCW and returns the encrypted data.
|
||||
// Leave rcwPassword nil to use RCW demonization.
|
||||
// If providing rcwPassword, it is up to the client to perform the sanity check!
|
||||
func EncryptBytes(decBytes, rcwPassword []byte) []byte {
|
||||
// if no rcwPassword was provided, assume daemon mode
|
||||
if rcwPassword == nil {
|
||||
|
||||
Reference in new issue
Block a user