TrueCrypt替代API [英] TrueCrypt alternative with API

查看:285
本文介绍了TrueCrypt替代API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在搜索一个具有API的TrueCrypt替代品,以编程方式访问文件。有没有人知道解决方案?

I am searching for a TrueCrypt alternative that has an API to programmatically access the files. Does anyone know a solution?

API应该支持文件的列表,创建,更改和删除。

The API should support the listing, creating, changing and deleting of files.

推荐答案

Diskcryptor 没有API,但它是GPL。

Diskcryptor does not have an API, but it is GPL.

如果我可能,我很遗憾你要求的是一个抽象的文件系统库。我明白您要加载TrueCrypt或类似的容器并列出其内容。当它被打开时,这样一个容器只是原始字节重新排列的扇区。在加密的顶部,这样一个API只会看到原始扇区,它必须使它们具有相应的扇区级别api。

If I may, I beleive what you are asking for is for a abstract file system library. I understand that you want to load a TrueCrypt or similar container and list its content. When it is opened, such a container is just raw bytes reprenting sectors. On top the the encryption, such an API would see only raw sectors and it would have to make sense of them with a corresponding sector level api.

您可以通过其他方式看到问题。您如何编写一个程序,如zip,可以在zip文件中显示这些信息,如果你愿意的话,一个非常常见的容器。

You can see the problem in another way. How would you write a program, such as zip, that can present such information on a zip file, a very common container if you will.

所以你要查找的API需要实现两件事:

So the API you are looking for would need to acheive two things :


  1. 了解容器的加密方案(可能是多个版本)

  2. 了解繁文件系统的扇区格式

  3. 提供用户友好的API。

之前一直问自己同样的问题,为了解答这个问题,这个答案是我迄今为止发现的总和。我希望你找到一个有效的答案,即使它不可行。

I have asked myself the same questions a while ago, scoured the net for answers, and this answer is the sum of what I have found so far. I hope you find it a valid answer, even if its not actionable.

还没有,反正;)

这篇关于TrueCrypt替代API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆