Android has a class for signing and verifying signatures, exactly named Signature . IOS has similar functionality. Write the cordova plugin that wraps these classes.
In addition to some of the basic features provided by webview, everything in cordova is provided through plugins that use the underlying platform. Thus, in Cordoba you can sign or verify signatures. But it may be more effort than you are prepared.
source share