use correct size to hex decode salt

This fixes "stack smashing detected" (Issue #26)
Merge pull request #27 from eworm-de/stack

use correct size to hex decode salt