Mercurial > cgi-bin > hgweb.cgi > PassMan
comparison src/main/kotlin/name/blackcap/passman/Encryption.kt @ 6:711cc42e96d7
Got the list subcommand working, but needs efficiency improvements.
author | David Barts <n5jrn@me.com> |
---|---|
date | Tue, 20 Sep 2022 20:52:21 -0700 |
parents | a6cfdffcaa94 |
children | 698c4a3d758d |
comparison
equal
deleted
inserted
replaced
5:ad997df1f560 | 6:711cc42e96d7 |
---|---|
6 import java.nio.charset.StandardCharsets | 6 import java.nio.charset.StandardCharsets |
7 import java.security.SecureRandom | 7 import java.security.SecureRandom |
8 import javax.crypto.Cipher | 8 import javax.crypto.Cipher |
9 import javax.crypto.SecretKey | 9 import javax.crypto.SecretKey |
10 import javax.crypto.SecretKeyFactory | 10 import javax.crypto.SecretKeyFactory |
11 | |
11 import javax.crypto.spec.IvParameterSpec | 12 import javax.crypto.spec.IvParameterSpec |
12 import javax.crypto.spec.PBEKeySpec | 13 import javax.crypto.spec.PBEKeySpec |
13 import javax.crypto.spec.SecretKeySpec | 14 import javax.crypto.spec.SecretKeySpec |
14 import javax.security.auth.Destroyable | 15 import javax.security.auth.Destroyable |
15 | 16 |