getSeed function

Get seed value.