A self hosted chat application with end-to-end encrypted messaging.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
781 B

  1. // export class MessageCipherDTO {
  2. // // iv!: string;
  3. // // v!: number;
  4. // // iterations!: number;
  5. // // keySize!: number;
  6. // // tagSize!: number;
  7. // // mode!: string;
  8. // // adata!: string;
  9. // // cipher!: string;
  10. // // salt!: string;
  11. // // cipherText!: string;
  12. // iv!: string;
  13. // v!: number;
  14. // iter!: number;
  15. // ks!: number;
  16. // ts!: number;
  17. // mode!: string;
  18. // adata!: string;
  19. // cipher!: string;
  20. // salt!: string;
  21. // ct!: string;
  22. // // public toMessageCipherDTO {
  23. // // }
  24. // }
  25. export interface MessageCipherDTO {
  26. iv: string,
  27. v: number,
  28. iter: number,
  29. ks: number,
  30. ts: number,
  31. mode: string,
  32. adata: string,
  33. cipher: string,
  34. salt: string,
  35. ct: string,
  36. }