@@ -153,3 +153,5 @@ true) // askOnDecrypt? we want this becuase otherwise somebody could rob us!
...
@@ -153,3 +153,5 @@ true) // askOnDecrypt? we want this becuase otherwise somebody could rob us!
```
```
2. Other steps are the same as in entry encryption, we just symetrically decrypt values of `password` and `safe_note` via `AES-256-GCM` algorithm. Size of IV and authTag for AES is the same as in encryption. Beware on cipher Key data type - it must be hex. Output is in JSON.
2. Other steps are the same as in entry encryption, we just symetrically decrypt values of `password` and `safe_note` via `AES-256-GCM` algorithm. Size of IV and authTag for AES is the same as in encryption. Beware on cipher Key data type - it must be hex. Output is in JSON.
Check example of password reader implementation in python [pwdreader.py](slip-0016/pwdreader.py) there is an example code for decryption.