preface
Hi, everyone, MY name is Milo. Recently, I met a requirement in the project that I need to make an HTML version of electronic signature. Take the weekend off to sort out your thoughts and share them.
What is an electronic signature?
From: Baidu Baike
An electronic signature is the data contained in an electronic form in an electronic message and attached to it for the purpose of identifying the signer and indicating that the signer approves of its contents. Generally speaking, electronic signature is the signature of electronic document in electronic form through cryptography technology, rather than the digital image of book signature. It is similar to handwritten signature or seal, or it can be said that it is an electronic seal. The use of electronic signature: in electronic version of the Mid-Autumn festival greeting card, wedding invitation, construction contract signature.
Look at my Baidu about the introduction of electronic signature, feel very complicated. It seems that what I do this time is only a small part of the electronic signature, slowly perfect
What pain points do electronic signatures solve?
In order to answer my doubts, I took a screenshot of the official website of E-Zhaobao after baidu search, so that I can have a general understanding of it.
How to implement an electronic signature?
The following is a flowchart for implementing electronic signatures
Drawing board is the use of HTML canvas implementation, source CODE I have prepared for you.
Wechat search: today Java background reply “canvas” to obtain the resource package
rendering
Sketchpad effect
Let’s take a look at the effect of the bid evaluation report
summary
This article is mainly to sort out the idea of realizing an electronic signature, as for more gameplay needs to be explored, the front-end code we reply to the keyword “canvas” download line, the back-end file upload code is very simple, I will not repeat here, thank you