Ok...
I tried with another path....
Create a new crypto object
var Ct=new $tw.utils.Crypto
And use that object. After that everything works. I need to investigate
further :P
El jueves, 3 de abril de 2014 17:31:48 UTC+2, Danielo Rodríguez escribió:
>
> Hello,
>
> I'm investigating the Crypto module of TW5 and I'm getting loss.
> How does the flow exactly works?
>
> I tried with very simple things as
>
> vr Ctext=$tw.utils.encrypt("My text","pass")
> $tw.utils.decrypt(Ctext,"pass")
>
> But I get all kind of errors. I tried JSON decoding/encoding the resulted
> object with no luck.
> I looked into gitHub and I saw some kind of store of encrypted tiddlers.
> How can I add tiddlers to that store?
>
> Thanks in advance.
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.