Add utility to create spiped keys.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
rikku: significant phab refactoring; enable APC!

Signed-off-by: Austin Seipp <aseipp@pobox.com>