Cleaned up example code to make it easier to read on page.
Added dynamic encryption example.