The project named etherecho is deprecated and will be removed soon.
According to it I've published source code of Magic Contract which is aimed to encrypt and decrypt texts at the contract side.
Thr source code and multilevel compilation process available at:
https://github.com/ropod7/ethereum-encryption-contract