Monthly Archives: March 2012

Javascript execCommand()

backgroundJ3

I am writing a program (don’t want to say what yet) that is largely reinventing many wheels in the programming world.  I know I am making my life harder than it needs to be, but I am gaining the following: 1. I am learning way more than I would have other wise. 2. I know…

Read more »

Encrypting Transmissions between JavaScript and PHP Part 3: Decrypting with PHP

backgroundJ1

Welcome to Part3 of Encrypting Transmissions between JavaScript and PHP.  You can see the previous parts at: Part 1 Part 2 There are just four easy steps to go through in order to decrypt the string from Part 2. As with JavaScript, let’s start off by getting the private key loaded into PHP.  Oddly enough, you can…

Read more »

Encrypting Transmissions between JavaScript and PHP Part 2: Making JavaScript encrypt the right thing using the right thing

Photo Nov 03, 1 41 17 PM

So now that we have the keys from Part 1 we can start setting up the JavaScript portion of our party.  If you have done a search for “Javascript RSA” you have probably found several different libraries that will implement it for you.  Of particular note are: https://ziyan.info/2008/10/javascript-rsa/ and http://www-cs-students.stanford.edu/~tjw/jsbn/ The former is a modified implementation of the latter.…

Read more »

Encrypting Transmissions between JavaScript and PHP Part 1: Creating a useful OpenSSL RSA private/public key pair

newhubble_omeganebula_1280

I am working on configuring my web pages to encrypt a user’s password when they log in to a web page.  At the moment I do not have the luxury of using HTTPS so I am focusing on using JavaScript to encrypt just the password using a RSA public key and decrypting it on the…

Read more »

Politeness in the Digital Age

Circles with colors blurred together

As I spend more time on Google Plus I am starting to see some very annoying trends. People are not very polite. I love the whole concept of making connections and getting to know people all of the world, and have been doing so online since 1996. Back when I started, people knew how to…

Read more »

Newark Designs

Hi, I'm arbitrary text. Who are you?

My Twits

User Login