blob: 5842d8320c67bb02bc9f03473dd049f9232b0ae7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package pathfs_frontend
// This file handles filename encryption
func (fs *FS) encryptPath(plainPath string) (string, error) {
return fs.CryptFS.EncryptPathDirIV(plainPath, fs.backingDir)
}
func (fs *FS) decryptPath(cipherPath string) (string, error) {
return fs.CryptFS.DecryptPathDirIV(cipherPath, fs.backingDir)
}
|