how to create encript code using sha256

hi ,

my problem is to create encrypt code using sha256 algorithm with more than two strings(parameter) into single code

please any one tell how to create

if any please send me small snippet code for me

thanks in advance