Equivalent of Data Protection API on Linux

前端 未结 2 369
自闭症患者
自闭症患者 2021-02-05 08:33

Microsoft Windows 2000 and later versions expose the Data Protection API (DPAPI) that encrypts data for a per-user or per-system context. The caller does not provide a key with

2条回答
  •  -上瘾入骨i
    2021-02-05 09:29

    It doesn't look any more (or less) advanced than PGP, or Pretty Good Privacy. There are APIs available for PGP, and the one that I recall others speaking kindly of is Bouncy Castle.

    Here's an example of how someone used Bouncy Castle.

    Better APIs or solutions may be available, depending on your specific needs.

提交回复
热议问题