Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Cryptography
  3. dkeyczar

dkeyczar

Go

A Go port of Google's Keyczar cryptography library providing simple, safe cryptographic operations with sensible defaults.

GitHubGitHub
112 stars16 forks0 contributors

What is dkeyczar?

dkeyczar is a Go port of Google's Keyczar cryptography library that provides a simple, safe API for common cryptographic operations like encryption, decryption, and digital signatures. It solves the problem of complex and error-prone cryptographic implementations by offering sensible defaults and secure algorithm choices. The library handles key management and proper encoding, making cryptography more accessible to developers.

Target Audience

Go developers who need to implement cryptographic functionality in their applications but want to avoid the complexity and potential pitfalls of low-level crypto libraries. Security engineers looking for a well-designed abstraction layer for cryptographic operations.

Value Proposition

Developers choose dkeyczar because it provides a battle-tested cryptographic API with secure defaults, reducing the risk of implementation errors. Unlike raw crypto libraries, it handles key management, algorithm selection, and proper encoding automatically while maintaining Google's security design principles.

Overview

Port of Google's Keyczar cryptography library to Go

Use Cases

Best For

  • Adding encryption to Go applications without deep cryptography expertise
  • Implementing secure session management with built-in encryption
  • Creating and verifying digital signatures in Go services
  • Migrating Keyczar-based applications from other languages to Go
  • Educational projects learning about cryptographic APIs
  • Applications needing URL-safe encoded cryptographic output

Not Ideal For

  • New projects requiring long-term security updates and active maintenance
  • Teams needing modern cryptographic algorithms like elliptic curve or post-quantum cryptography
  • Applications where integration with Google's recommended Tink library is preferred

Pros & Cons

Pros

Simplified Cryptography API

Provides a high-level interface that abstracts complex cryptographic details, making it accessible for developers without deep expertise, as highlighted in the philosophy section.

Secure Algorithm Defaults

Uses pre-configured secure choices like AES with HMAC for authenticated encryption, reducing the risk of misconfiguration errors mentioned in the value proposition.

Comprehensive Operation Support

Covers symmetric and asymmetric encryption, signing, and session handling, as listed in the key features, addressing common cryptographic needs.

Web-Friendly Encoding

Encodes all output in URL-safe base64 format, which is convenient for web applications and APIs, as specified in the README.

Cons

Deprecated and Unmaintained

The README explicitly states Keyczar is deprecated with Google recommending Tink, meaning no future updates, security patches, or official support.

Outdated Algorithm Set

Relies on older algorithms like DSA and lacks newer cryptographic standards, which may not meet modern security requirements or compliance needs.

Limited Documentation and Community

As a deprecated project, documentation and community support are minimal, making troubleshooting and adoption more challenging for new users.

Frequently Asked Questions

Quick Stats

Stars112
Forks16
Contributors0
Open Issues9
Last commit6 years ago
CreatedSince 2011

Tags

#crypto-api#hmac#rsa#go-library#encryption#security#digital-signatures#aes#cryptography#key-management

Built With

G
Go

Included in

Cryptography6.8k
Auto-fetched 9 hours ago

Related Projects

goThemisgoThemis

Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.

Stars1,974
Forks159
Last commit4 months ago
kyberkyber

Advanced crypto library for the Go language

Stars703
Forks179
Last commit2 months ago
gocryptogocrypto

Example source code for the Practical Crypto with Go book.

Stars157
Forks34
Last commit6 years ago
cryptocrypto

Official Website Resources

Stars0
Forks0
Last commit
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub