SM3

Learn how to use the SM3 cryptographic function in PlaidCloud Lakehouse. Returns the SM3 hash of a string - see syntax, examples, and output.

Returns the SM3 hash of a string.

Analyze Syntax

func.sm3(<str>)

Analyze Examples

func.sm3('hello')

┌───────────────┐
 'becbbfaa...'  
└───────────────┘

SQL Syntax

SM3(<str>)

SQL Examples

SELECT SM3('hello');

┌──────────────────────────────────────────────────────────────────┐
 becbbfaae6548b8bf0cfcad5a27183cd1be6093b1cceccc303d9c61d0a645268  
└──────────────────────────────────────────────────────────────────┘