mirror of
https://github.com/logos-messaging/specs.git
synced 2026-04-03 12:53:12 +00:00
simplify IEncryption to only accept raw encrypt and decrypt functions
This commit is contained in:
parent
fa7ff625c2
commit
9725dc84ad
@ -139,8 +139,6 @@ types:
|
||||
parameters:
|
||||
- name: plaintext
|
||||
type: array<byte>
|
||||
- name: encryptionKey
|
||||
type: array<byte>
|
||||
returns:
|
||||
type: result<array<byte>, error>
|
||||
decrypt:
|
||||
@ -149,8 +147,6 @@ types:
|
||||
parameters:
|
||||
- name: ciphertext
|
||||
type: array<byte>
|
||||
- name: encryptionKey
|
||||
type: array<byte>
|
||||
returns:
|
||||
type: result<array<byte>, error>
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user