什么是保持解密密钥用于解密加密数据库的最好方法?

编程入门 行业动态 更新时间:2024-10-24 22:30:30
本文介绍了什么是保持解密密钥用于解密加密数据库的最好方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个加密的数据库和解密密钥。

I have a encryted database and decryption key. How to keep decryption key away from hacking(Both database hacking and unauthorizated accessing PC.)?

  • 装配中的硬编码。
  • $
  • Hardcode in assembly.
  • keep in registry.
  • keep in RAM.
  • 此外,我需要算法的加密数据。

    Moreover, I need algorithm for encryted data. What's the best algorith for doing this in security per decryption time term?

  • RSA
  • AES
  • RSA与AES

    感谢,

    推荐答案

    你提出了错误的问题:首先你需要决定你需要什么安全。然后,你需要决定是否需要对称(认为DES,共享密钥))还是非对称的(认为RSA,公钥和私钥),并且还要认真对待密钥管理,因为这通常是弱点。

    You are asking the wrong questions: first you need to decide how secure you need things to be. Then you need to decide whether you want symmetric (think DES, shared key)) or asymmetric (think RSA, public and private keys), and also think hard about key management, because that is often the point of weakness.

    非对称算法比对称算法慢几个数量级;它们通常用于保护对称密钥,而不是对整个数据。

    Asymmetric algorithms are orders of magnitude slower than symmetric ones; they are often used to protect a symmetric key, rather than on the whole data.

    更多推荐

    什么是保持解密密钥用于解密加密数据库的最好方法?

    本文发布于:2023-11-13 01:43:58,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1583067.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:密钥   数据库   方法

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!