본문 바로가기

프로그램언어/News

구글, 오픈 코드 Keyczar 공개

Keyczar

Keyczar is an open source cryptographic toolkit designed to make it easier and safer for devlopers to use cryptography in their applications. Keyczar supports authentication and encryption with both symmetric and asymmetric keys. Some features of Keyczar include:

  • A simple API
  • Key rotation and versioning
  • Safe default algorithms, modes, and key lengths
  • Automated generation of initialization vectors and ciphertext signatures
  • Java and Python implementations (C++ coming soon)

Why Keyczar?

Cryptography is easy to get wrong. Developers can often choose the wrong cipher mode, use obsolete algorithms, compose primitives in an unsafe manner, or fail to anticipate the need for key rotation. Keyczar abstracts some of these details by choosing safe defaults, automatically tagging outputs with key version information, and providing a simple interface.

Keyczar is designed to be open, extensible, and cross-platform compatible. It is not intended to replace existing cryptographic libraries like OpenSSL, PyCrypto, or the Java JCE, and in fact is built on these libraries.

An illustrative use case

Suppose an application needs to encrypt a URL parameter value with a symmetric key. Normally, a developer would need to decide which algorithm to use, the key length to use, the mode of operation, how to handle initialization vectors, how to rotate keys, and how to sign ciphertexts. Keyczar simplifies these choices. Using an existing keyset, a Java developer would just need to call the following:

	Crypter crypter = new Crypter("/path/to/your/keys");
	String ciphertext = crypter.encrypt("Secret message");

Similarly a Python developer would just call the following:

	crypter = Crypter.Read("/path/to/your/keys");
	ciphertext = crypter.Encrypt("Secret message");

For More Information

Please see the design documents, JavaDocs, and PyDocs for more information. Keyczar's unit test cases are also good examples of typical usage.

Caveats

Keyczar sacrifices some flexibility in favor of safety and ease of use. Protecting developers from mistakes and handling details for them may

인터넷 검색을 하다가 좋은 뉴스가 있네요. c++도 지원을 하게 되면 사용해 볼까 합니다.

http://code.google.com/p/keyczar/
http://itnews.inews24.com/php/news_view.php?g_serial=349565&g_menu=020600&fm=rs

'프로그램언어 > News' 카테고리의 다른 글

위 온라인 3차 CBT, 동서양의 대립, 마침내 스타트!  (0) 2010.04.06
크롬...  (0) 2010.03.23