GithubHelp home page GithubHelp logo

libgoogleauthexporter's Introduction

libGoogleAuthExporter

an c++ implement of google-authenticator-exporter https://github.com/yi-ge/google-authenticator-exporter

Compile under VS2019 passed

protobuf include&lib not upload, you can manually include or install from vcpkg.

using cppcodec as Base32/Base64 encode/decode https://github.com/tplgy/cppcodec ,as a result, it require C11 support.

Usage

see TestGoogleAuthExporter as reference. just include libGoogleAuthExporter.h

Test

you can run TestGoogleAuthExporter which in binary folder (or you can compile it) with args.

For example:

you got an encrypt data like this:

otpauth-migration://offline?data=Ci8KHuS9nOiAhSA3aWFu5aSn5ZyjIHFxIDU0MTk4MDIwMBIHS2luaEtleSABKAEwAhAB

Run Like this:

TestGoogleAuthExporter Ci8KHuS9nOiAhSA3aWFu5aSn5ZyjIHFxIDU0MTk4MDIwMBIHS2luaEtleSABKAEwAhAB

And you will get display like this:

4S6ZZ2EAQUQDO2LBN3S2JJ7FTSRSA4LREA2TIMJZHAYDEMBQ

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.