I want a function like this:
uint64 sign(String s) {
// how to signature a string
}
For use, this function can accept any string and return a signature. For example,
uint64 a = sign("hello world")
This function should signature a string just depending on its plain text but not memory location. And, different string text should generate different uint64 values.