Giter Site home page Giter Site logo

spec's Introduction

LIPTK
Lightweight tools for the cryptic!

NOTE THIS SPECIFICATION IS UNDER DEVELOPMENT!

LIPTK's goals are to provide a opinionated, yet flexible specification for providing cryptographic primitives (ie. cleartext, ciphertext, signatures, etc) with a way to encode and decode them safely.

Why LIPTK?

LIPTK specifies sane defaults for algorithms and their parameters, and is designed so they can be composed seamlessly together. To do this, LIPTK provides generic primitives with concrete types and a format for encoding them to binary (and back).

This specification is inspired by libsodium as it specifies a small suite of algorithms that have been vetted quite extensively, however LIPTK strives to be more flexible in respect to providing more alternative algorithms, and a future proof way of using them. Implementations of this specification may actually use libsodium internally to provide support for algorithms.

You can also draw parallels between LIPTK and the OpenPGP message format, but LIPTK's binary format is designed to provide the bare minimum, and is lightweight in comparison. You could build a protocol using LIPTK primitives similar to OpenPGP (which this library wants you to be able to do), but a higher level protocol is not in the scope of this project.

Composable binary format

Rather than defining a strict specification on how you should talk, LIPTK provides you primitives you can use to compose your own conversation easily. For example, a format for encoding ed25519 signature parameters is provided, and can be wrapped in a generic signature, which in turn can be passed over the network, without worrying how to externally specify what sort of signature it is. A LIPTK decoder implementation can then unwrap the signature to get it's parameters to verify data.

Implementations

spec's People

Contributors

avitex avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.