mirror of
https://github.com/rclone/rclone.git
synced 2026-01-10 12:33:46 +00:00
crypt: added cryptdecode command - #1129
This commit is contained in:
@@ -403,6 +403,11 @@ func (f *Fs) UnWrap() fs.Fs {
|
||||
return f.Fs
|
||||
}
|
||||
|
||||
// DecryptFileName returns a decrypted file name
|
||||
func (f *Fs) DecryptFileName(encryptedFileName string) (string, error) {
|
||||
return f.cipher.DecryptFileName(encryptedFileName)
|
||||
}
|
||||
|
||||
// ComputeHash takes the nonce from o, and encrypts the contents of
|
||||
// src with it, and calcuates the hash given by HashType on the fly
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user