Skip to content

Commit 441f361

Browse files
author
Anand
committed
ref issue #8 - updated source for generateRandomPassword
1 parent 3597fb6 commit 441f361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ func decryptFileXChachaPoly(encDbPath string, password string) error {
438438
func generateRandomPassword(length int) (error, string) {
439439

440440
var data []byte
441-
const source = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789#!+$@~"
441+
const source = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789?)(/%#!?)="
442442

443443
data = make([]byte, length)
444444

0 commit comments

Comments
 (0)