相关疑难解决方法(0)

哪些攻击可能与我的安全层概念有关?

尽管有使用SSL/https /等的所有建议.我决定在我的应用程序的http顶部实现我自己的安全层...这个概念的工作原理如下:

User registers -> a new RSA Keypair is generated
the Private Key gets encrypted with AES using the users login Password
(which the server doesnt know - it has only the sha256 for authentication...)

Server stores the hash of the users password
 and the Encrypted Private Key and Public Key

User logs in -> authenticates with nickname+password hash
(normal nick/password -> IP-bound sessionid authentication)
Server replies: sessionid, the Encrypted RSA Private Key
    and an Encrypted randomly generated Session …
Run Code Online (Sandbox Code Playgroud)

security cryptography rsa aes

15
推荐指数
2
解决办法
1090
查看次数

标签 统计

aes ×1

cryptography ×1

rsa ×1

security ×1