Encryption for Security purposes in Angular JS

120 views
Skip to first unread message

Entrytest Team

unread,
Jul 31, 2015, 9:51:59 AM7/31/15
to AngularJS

i am using angular and trying to figure out how to encrypt and decrypt my messages using angular to avoid any kind of security issues in my application.i am using laravel for api development. I have quite a lot RnD on figuring out that how i can achieve it but unable to find any appropriate solution for it..can any one share his thoughts???thanks in advance..


Erick Engelhardt

unread,
Jul 31, 2015, 10:05:49 AM7/31/15
to AngularJS
Hello.

1) Are you using SSL?

2) You can compress the package using Gzip and including a password

3) You can encode message using a custom function

4) Search for HMAC 

Erick Engelhardt 
21 99463-1994



On Fri, Jul 31, 2015 at 10:51 AM, Entrytest Team <pkent...@gmail.com> wrote:

i am using angular and trying to figure out how to encrypt and decrypt my messages using angular to avoid any kind of security issues in my application.i am using laravel for api development. I have quite a lot RnD on figuring out that how i can achieve it but unable to find any appropriate solution for it..can any one share his thoughts???thanks in advance..


--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Entrytest Team

unread,
Aug 3, 2015, 1:39:23 AM8/3/15
to AngularJS
i want to implement SHA-256 but issue is it does not have decryption function..how i can achieve that???i want to encrypt a message using my own key..how i can achieve that???

Sander Elias

unread,
Aug 3, 2015, 3:01:07 AM8/3/15
to AngularJS
Hi Entrytest,

It can be done in the browser, but you have to expose your private key. That's a bad idea!
SSL is basicly the only option you have.

Regards
Sander

Entrytest Team

unread,
Aug 3, 2015, 3:08:33 AM8/3/15
to AngularJS
so we dont have any other technique using which we could achieve encryption through our own defined keys???

Alain Ekambi

unread,
Aug 3, 2015, 4:08:03 AM8/3/15
to ang...@googlegroups.com

U want to encrypt decrypt on the client ? Cuz serverside there r quit few solutions.

--

Sander Elias

unread,
Aug 3, 2015, 4:18:29 AM8/3/15
to AngularJS
Hi Entrytest,


There is work being done on some encryption by w3c, but it its still a release candidate, and there isn't much browser support yet.
Most 3rth party things I have seen have serious flaws. What's left for now, is encrypt/decrypt on the server, and serve over a secure connection. 
There are some reasonable safe hashing methods on the client, but those are one-way. 

Regards
Sander

Reply all
Reply to author
Forward
0 new messages