I am building a plain Text Editor that allows to encrypt, hash or sign passages. Since I want to allow for different Methods (symm/asymm, #Bits etc.), possibly even within the same document, the actually Method used must/should be documented in the same document, preferably directly before the encrypted passage.
I wonder if there is something like a standard plain text Prefix (or Suffix) for encrypted data/signatures similar to the protocol in a URL
The concatenated prefix and cipher (base64 encoded, also the encoding should go into the prefix) could look like this:
SHA1://XFe..ks== or RSA512://uD4lo...df5=