Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.
/ objectenc Public archive

Protobuf-based adaptable object encryption.

Notifications You must be signed in to change notification settings

paralin/objectenc

Repository files navigation

Object Encryption

Cross-language encryption wrapper for binary blobs.

Introduction

objectenc is a wrapper for binary blobs with encryption type metadata.

This package also includes cross-platform implementations of each encryption type. Each encryption implementation lives in a sub-package.

Furthermore, compression algorithms are implemented in sub-packages.

Resource Resolvers

When encrypting and decrypting data, sometimes additional out-of-band information will be required, such as the private or public key for a peer ID or the encryption key.

The code is structured so that this information can be resolved asynchronously.

Go Implementation

Each sub-package contains an implementation that will be registered globally when the package is initialized. This means that you can selectively compile in encryption types with an import statement like so:

import (
	"github.com/aperturerobotics/objectenc"

    // Register specific algorithms.
	_ "github.com/aperturerobotics/objectenc/blowfish"
	_ "github.com/aperturerobotics/objectenc/aes"
    
    // alternatively, register all algorithms
	_ "github.com/aperturerobotics/objectenc/all"
)

About

Protobuf-based adaptable object encryption.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published