Code Monkey home page Code Monkey logo

react-native-scrypt's People

Contributors

dependabot[bot] avatar ggozad avatar maddijoyce avatar saeedzhiany avatar sonnyp avatar tex0l avatar wichert avatar

Stargazers

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

Watchers

 avatar  avatar

react-native-scrypt's Issues

Change the way arguments are passed and received

Currently, we send passwd as a UTF-8 string, salt as an Array of Int and we receive the result encoded as a hexadecimal String.

I suggest changing everything to hexadecimal Strings, this would enable passing non UTF-8 data as passwd.

This would be a breaking change.

On android scrypt function is blocking

As title says, even if i call scrypt function with await, UI freezes for a few seconds and the spinner does not appear(i set the <ActivityIndicator/> visible the line before calling scrypt and set it to false the line after, standard async procedure)

Update build.gradle

Hi,

can you add the following changes to android/build.gradle?

  • implementation instead of compile
  • compileSdkVersion rootProject.ext.compileSdkVersion

Thank you

Documentation: Return type?

What is the return type of the scrypt function?

Normally I would expect a Buffer, but since RN cannot pass binary data between native and Javascript...

Is it a string of lower case hexadecimal (I looked here for Android and here for iOS)?

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.