RSA Interface Encryption and Decryption in Android

1.RSA introduction RSA is an asymmetric encryption algorithm Encryption and decryption use different keys. Each communication party holds one of a pair of keys (called public key and private key). Only the other party's key can decrypt the data encrypted by its own key. RSA is based on the fact of number theory that it is very ...

Posted by craigerjs on Wed, 08 May 2019 03:40:38 -0700

Develop your own react-native component and publish it to npm

Write before When doing react-native development, we often find some third-party components that are easy to install and use by npm install.Have you ever thought about how we should develop and publish a component ourselves while using it?Whether it's sharing multiple projects for yourself or using open source for others, it's ...

Posted by littleelmo on Tue, 07 May 2019 17:10:40 -0700

Django's Main Function-Interface Architecture Check

Ways of Verification of Interface Structures Checking in Pure Coding Form Generally, the conventional interface return value verification requires assertion judgment of the fields that need to be checked one by one, which has a great coding workload and is obviously not suitable for the interface testing platform. Let's look at an ...

Posted by Senate on Tue, 07 May 2019 12:25:39 -0700

Generic programming learning, writing an iterator similar to a simple list in STL Libraries

Generic programming learning, writing an iterator similar to a simple list in STL Libraries Preface Recently, in the study of STL source code and various implementation details in stl, beginners will inevitably imitate, the following will write their own simple list container iterator. First, when we start writing List itera ...

Posted by rtconner on Tue, 07 May 2019 06:30:40 -0700

Java Byte Code Constant Pool

Introduction The last article briefly introduced the basic format of java Class byte code files.In this paper, we will further understand the constant pool structure in byte code by reading the byte code file directly. First let's create a new simplest Java file public class Test { public static void main(String[] args) { ...

Posted by webhamster on Mon, 06 May 2019 21:15:38 -0700

TensorFlow|Transformer-based Natural Language Inference (SNLI)

After going through the process of reading the paper, the source code and Bert source code, I sorted out my ideas, implemented a Transformer, and built a small Transformer to do some SNLI tasks. 1.Transofrmer The principle is not repeated anymore. It's good in other blogs. For example: https://jalammar.github.io/illustrated- ...

Posted by zimick on Mon, 06 May 2019 20:40:39 -0700

Learning and Practice of HTML5 Native Drag and Drop Events

Preface Previously, you learned drag and drop events for HTML5 and used drag and drop components in development.To clarify the logic of the whole, a small example is given. The effect is also simple: elements can be dragged arbitrarily in the container, and when elements are moved into the container, there will be related style changes that hav ...

Posted by hammerloaf on Mon, 06 May 2019 19:50:39 -0700

Python Interesting | Data Visualization

pyecharts visualization Above, we used Excel visualization to draw a pseudo "The Economist" chart. To some extent, this method solved the shortcomings of pandas: not beautiful, not powerful. But its operation is complicated, and the Handicapped Party says it dislikes it the most. So this section explains a Python t ...

Posted by laurus on Mon, 06 May 2019 13:50:38 -0700

Using Jaeger to Complete Link Tracking between Services

There is no road in the world, and when there are more people to walk, it becomes a road--Lu Xun The topic of this discussion is the need to step out of a "road" between services, so that bug s have a "road" to follow. Why use jaeger... this multi-language solution? Do you follow the opentracing specification? Is it ready-t ...

Posted by rwwd on Mon, 06 May 2019 11:00:39 -0700

Android Custom Control - Draggable Control Ring Control Bar

Received such a demand the other day, originally thought it was very simple, but I didn't expect to find that it was still a bit cumbersome to achieve in the end. Here is a small summary. Take a look at the following sample of this requirement: Then take a look at the final result, which may be a problem with the gif recording ...

Posted by MStaniszczak on Mon, 06 May 2019 08:25:39 -0700