Git Product home page Git Product logo

arc-wallet-js-api's Introduction

ArcBlock

(Just a test to see if this README show up on group home page)

arc-wallet-js-api's People

Contributors

naterobinson avatar

Stargazers

 avatar

Watchers

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

arc-wallet-js-api's Issues

增加加密解密交互

通过did 获取 curve25519的 公钥和私钥 ;
用私钥和接受者的 curve25519的公钥加密,
接收者用 发送者的公钥,自己的私钥可以解密。

例如:
abtsdk.curve25519Encrypt(did,byte[])
abtsdk.curve25519Decrypt(did,byte[])
Alice 通过 Bob 的did加密内容,Bob 通过Alice的Did解密内容;
方法内做秘钥转换与加密。

参考:
image
image

参考项目:https://github.com/dchest/tweetnacl-js/wiki/Examples

图片叠加手写签名交互

在生成图片NFT的时候,需要将手写签名叠加的图片上。也可以只是返回手写签名,有Dapp自己叠加
例如入参:图片字节数组、签名大小、签名叠加位置

增加 基于秘钥的对称加密解密交互

增加 基于秘钥的对称加密解密
Dapp需要保存用户的敏感信息,只有用户自己才可以看或使用进行加密存储。
比如设置邮箱配置信息的用户名密码,当发送邮件的时候解密使用。

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.