Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@feizheng/next-fanyi-api-sign

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@feizheng/next-fanyi-api-sign

Get baidu translate api sign.

  • 1.0.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

next-fanyi-api-sign

Get baidu translate api sign.

installation

npm install -S @feizheng/next-fanyi-api-sign

usage

import '@feizheng/next-fanyi-api-sign';

//DOCS here!

descriptions

  1. 拼接字符串1
    1. appid=2015063000000001
    2. q=apple
    3. salt=1435660288
    4. 密钥=12345678
    5. 得到字符串1:“2015063000000001apple143566028812345678”
  2. 计算签名:(对字符串1做md5加密)
    1. sign=md5(2015063000000001apple143566028812345678)
    2. sign=f89f9594663708c1605f3d736d01d2d4

resources

  • https://api.fanyi.baidu.com/doc/21

FAQs

Package last updated on 16 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc