Giter Club home page Giter Club logo

easycipher's Introduction

EasyCipher

概述

EasyCipher收集了几种常见的加密方法的C语言实现,并基于Android平台封装了jni接口。

提供的加密方法包括

  • AES加密核心部分,不涉及模式和padding,支持128bits和256bits
  • AES/CBC/PKCS5Padding
  • SHA256
  • HAMC-SHA256
  • RSA
  • ECC (ECDH, ECDSA)

注: 在Android的实现中,PKCS5Padding和PKCS7Padding结果一样。

来源

自行实现的部分:

  • RSA的填充和解析。
  • AES的CBC模式、PKCS5Padding填充。
  • HMAC的实现。

原理

https://juejin.cn/post/7051222240976699428

License

See the LICENSE file for license rights and limitations.

easycipher's People

Contributors

billywei01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.