Advertisement
AkirusG

Untitled

Dec 5th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Запрос 1:
  2. Request:
  3. {
  4. "type": "hello",
  5. "rsa-key": "xxxx",
  6. "fileName": "xyz.txt"
  7. }
  8. Response:
  9. {
  10. "type": "hello",
  11. "content": "%encrypted_file%", // зашифрованный сенсовым ключом файл
  12. "encrypted_key": "bla-bla" // рандомный ключ, который зашифрован rsa ключем из запроса
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement