[solitaire] encryption algorithm sample